import { Component } from '@angular/core';

import { AboutPage } from '../about/about';
import { ContactPage } from '../contact/contact';
import { HomePage } from '../home/home';
import { Tab } from 'ionic-angular/navigation/nav-interfaces';

@Component({
  templateUrl: 'tabs.html'
})
export class TabsPage {

  tab1Root = HomePage;
  tab2Root = AboutPage;
  tab3Root = ContactPage;

  constructor() {
    
  }

  tabChange(tab:Tab){
    if(tab.index == 0){
      //console.log(tab);
    }
  }
}
